package com.easymin.weixin.mapper;

import com.easymin.weixin.entity.Application;
import com.easymin.weixin.entity.ApplicationCriteria;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface ApplicationMapper extends BaseMapper<Application, ApplicationCriteria, Long> {
  Long countByExample(ApplicationCriteria example);

  int deleteByExample(ApplicationCriteria example);

  int deleteByPrimaryKey(Long id);

  int insert(Application record);

  int insertSelective(Application record);

  List<Application> selectByExampleWithRowbounds(ApplicationCriteria example, RowBounds rowBounds);

  List<Application> selectByExample(ApplicationCriteria example);

  Application selectByPrimaryKey(Long id);

  int updateByExampleSelective(@Param("record") Application record,
      @Param("example") ApplicationCriteria example);

  int updateByExample(@Param("record") Application record,
      @Param("example") ApplicationCriteria example);

  int updateByPrimaryKeySelective(Application record);

  int updateByPrimaryKey(Application record);
}
